package com.itmate.webpro;

import javax.annotation.PostConstruct;
import org.springframework.stereotype.Component;
import com.itmate.webpro.vertx.ConsumerHttpServerVerticle;
import io.vertx.core.Vertx;

@Component
public class Consumer {
	
	@PostConstruct
	public void consumer() {
		Vertx vertx = Vertx.vertx();
      vertx.deployVerticle(new ConsumerHttpServerVerticle());
	}

}
